package com.iwhalecloud.citybrain.flow.platform.manager.domain.exception;

/**
 * 前后置事件post异常暂停
 *
 * @author songxf
 * @date 2021/08/09
 */
public class EventCallSuspendException extends Exception{
    private static final long serialVersionUID = 2034670056176700374L;

    private static String errMsg;

    public static String getErrMsg() {
        return errMsg;
    }
    public static void setErrMsg(String errMsg) {
        EventCallSuspendException.errMsg = errMsg;
    }
    public static void clearErrMsg() {
        EventCallSuspendException.errMsg = null;
    }


    public EventCallSuspendException() {
    }

    public EventCallSuspendException(String message) {
        super(message);
    }

    public EventCallSuspendException(String message, Throwable cause) {
        super(message, cause);
    }

    public EventCallSuspendException(Throwable cause) {
        super(cause);
    }

    public EventCallSuspendException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) {
        super(message, cause, enableSuppression, writableStackTrace);
    }
}
